package com.service.yzj.dao;

import org.apache.ibatis.annotations.Mapper;
import com.service.yzj.model.DAddress;
// import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DAddressMapper {
    // 插入地址信息
    // void insertAddress(DAddress address);

    // 根据 ID 查询地址信息
    DAddress getAddressById(long id);

    // 查询所有地址信息
    List<DAddress> getAllAddresses();
}
